package com.cfa.service;

import com.cfa.model.UmsAdmin;

public interface UmsAdminService {
    //根据id删除
    int deleteByPrimaryKey(Long id);
    //添加用户
    int insert(UmsAdmin record);
    //动态添加根据条件添加
    int insertSelective(UmsAdmin record);
    //根据id查询用户
    UmsAdmin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UmsAdmin record);

    int updateByPrimaryKey(UmsAdmin record);
    //登录验证
    UmsAdmin selectByUsernameAndPassword(UmsAdmin umsAdmin);
}
